# -*- coding: utf-8 -*-

"""
# @Time    : 2022/2/17 0017 17:20
# @Author  : Silva
# @File    : config.py
"""

# ------------------ 数据库配置 -------------------------

DB_CONFIG = {
    'REDIS': {
        "host": "119.91.23.181",
        "port": "6379",
        "db": "0",
        "password": ''
    },
    'mongodb': {
        'host': '119.91.23.181:27017',
        'database': 'news_crawl',
        'user': 'silva',
        'pwd': '123456',
        'is_auth': True,
        'is_replica': None,
        'replica': '',
    }
}
